<extend name="Public:base" />


<block name="head">
<!--royalslider-->
<link rel="stylesheet" href="__PUBLIC__/js/royalslider/a.css">
<script src="__PUBLIC__/js/royalslider/a.js"></script>
</block>


<block name="header">
<nav class="navbar navbar-fixed-top">
	<div class="container">

<img src="__PUBLIC__/img/logo.png" height="70">
	</div>
</nav>
</block>


<block name="main">
<div id="focus" class="royalSlider heroSlider rsMinW">
	<for end="4">
	<div class="rsContent">
		<img class="rsImg" src="__UPLOAD__/da/{$i+1}/i.jpg" />
	</div>
	</for>
</div>


<div class="navbar-fixed-bottom" style="background:url(__PUBLIC__/img/nav_bg.png)">
<div class="container pt30 pb10 white">
	<div class="row tc lh200">

		<div class="col-xs-3">
			<a href="/class">
				课程简介<br>
				<img src="__PUBLIC__/img/index/icon3/1.png" width="53">
			</a>
		</div>
		<div class="col-xs-3">
			<a href="/zs">
				招生信息<br>
				<img src="__PUBLIC__/img/index/icon3/2.png" width="53">
			</a>
		</div>
		<div class="col-xs-3">
			<a href="#/cg">
				升学成果x<br>
				<img src="__PUBLIC__/img/index/icon3/3.png" width="53">
			</a>
		</div>
		<div class="col-xs-3">
			<a href="/help">
				学长帮我<br>
				<img src="__PUBLIC__/img/index/icon3/4.png" width="53">
			</a>
		</div>
	</div>
	<div class="mt10 tr">
		<a href="/video">学生视频</a> |
		<a href="/account">活动预约 |
		<a href="/account">考试报名 |
		<a href="/contact">联络我们</a>
	</div>
</div>
</div>

</block>


<block name="foot">

<script>

function resize(){
	// alert($(window).height());
	$('.heroSlider .rsOverflow, .royalSlider.heroSlider').css('height', $(window).height());
}

$(document).ready(function(){
	// resize();
	setTimeout(resize(), 1000);
	setTimeout(resize(), 3000);
});	
$(window).resize(function(){ 
	resize();
});
$(document).ready(function($){
	$('#focus').royalSlider({
		
		loop: true,//循环
		slidesSpacing: 0,
		// loopRewind: true,
		keyboardNavEnabled: true,
		controlsInside: false,
		imageScaleMode: 'fill',
		arrowsNav: true,
		arrowsNavAutoHide: false,
		autoScaleSlider: false,
		autoScaleSliderWidth: 900,
		autoScaleSliderHeight: 1280,
		controlNavigation: 'none',//导航类型
		thumbsFitInViewport: false,
		navigateByClick: false,
		startSlideId: 0,
		randomizeSlides: false,//随机
		transitionType:'move',
		globalCaption: true,
		deeplinking: {
			enabled: true,
			change: false
		},
		imgWidth: 900,
		imgHeight: 1280
	});
});
</script>

</block>